# Makefile for the poker game
# let's see how this goes

CC=gcc
CFLAGS=-Wall -std=c11 -g -O3
LDFLAGS=

all: deps
	mkdir -p bin/
	$(CC) $(CFLAGS) $(LDFLAGS) -o bin/poker *.o

deps:
	$(CC) $(CFLAGS) -c *.c

install:
	test -d ~/.local/bin && cp bin/poker ~/.local/bin/

clean:
	rm *.o
